package com.eorchis.util.excel;

import java.util.List;

 /**
 * Title: ExcelImportResult<br>
 * Description: 导入结果对象<br>
 * Copyright @ 2011~2015 Goldgov .All rights reserved.<br>
 * 
 * @author LuanKW
 * @createDate 2015-5-13
 * @version $Revision: $
 */
public class ExcelImportResult {

	// 结果标识
	private boolean resultSign;
	
	// 结果集
	private List<? extends ExcelBean> resultList;
	
	// 失败信息汇总
	private StringBuffer errorMessage;


	/**
	 * @return the resultSign
	 */
	public boolean isResultSign() {
		return resultSign;
	}

	/**
	 * @param resultSign the resultSign to set
	 */
	public void setResultSign(boolean resultSign) {
		this.resultSign = resultSign;
	}

	/**
	 * @return the resultList
	 */
	public List<? extends ExcelBean> getResultList() {
		return resultList;
	}

	/**
	 * @param resultList the resultList to set
	 */
	public void setResultList(List<? extends ExcelBean> resultList) {
		this.resultList = resultList;
	}

	/**
	 * @return the errorMessage
	 */
	public StringBuffer getErrorMessage() {
		if(errorMessage == null){
			errorMessage = new StringBuffer();
		}
		return errorMessage;
	}

	/**
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(StringBuffer errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	
}
